package study07;

public class User {
    private String id;
    private String password;
    private String email;
    public User(){

    }
    public User(String id,String password,String email){
        this.id=id;
        this.password=password;
        this.email=email;
    }
    public void setId(String id){
        this.id=id;
    }
    public String getId(){
        return id;
    }
    public void setPassword(String password) {
        this.password = password;
    }
    public String getPassword() {
        return password;
    }
    public void setEmail(String email) {
        this.email = email;
    }
    public String getEmail() {
        return email;
    }
    public void showInfo(){
        System.out.println("用户ID是"+id+"，用户密码是"+password+"用户邮箱是"+email+"。");
    }
}
